<!-- toaster directive -->
<toaster-container toaster-options="{'position-class': 'toast-top-right', 'close-button':true}"></toaster-container>
<!-- / toaster directive -->

<!-- 导航条 -->
<div class="bg-white bread-crumb">
    <ul class="breadcrumb b-a m-b-n-xs lter b-b wrapper-md">
		<li><a ui-sref="main.tpl.homePage"><i class="fa fa-home"></i> 首页</a></li>
        <li class="active" ng-bind="title"></li>
    </ul>
</div>

<!-- 加载提醒 -->
<div ng-show="loading" class="text-center m-t-md text-lg"><i class="fa fa-spin fa-spinner"></i> 数据加载中...</div>

<!-- 内容区域 -->
<div ng-hide="loading" class="wrapper-md content">
    <!-- 数据显示 -->
    <div class="wrapper-data">
        <div class="panel panel-default">
            <!-- 头部 -->
            <div class="panel-body">
				<form class="form-horizontal" enctype="multipart/form-data">
                   	<div class="form-group">
                   		<label class="col-sm-1 control-label">账户类型:</label>
                   		<div class="col-sm-2">
                           	<select class="form-control" ng-model="param.accountType">
                           		<option value="">--请选择--</option>
                       			<option value="1">广告主</option>
                       			<option value="2">流量主</option>
                       		</select>
                       	</div>
                       	
                       	<label class="col-sm-1 control-label">调账文件:</label>
						<div class="col-sm-2">
							<div id="file-pretty">
								<input type="file" class="form-control" name="xlsFile" id="xlsFile">
							</div>
						</div>
						
						<div class="col-sm-2">
							<button class="btn btn-primary" type="submit">确认上传</button>
						</div>
                   	</div>
				</form>
            </div>

            <!-- 数据表格 -->
            <!-- <div class="table-responsive">
                <table class="table table-striped b-t b-light text-center">
                    <thead>
                    <tr>
                        <th>编号</th>
                        <th>用户ID</th>
                        <th>邮箱</th>
                        <th>账户类型</th>
                        <th>联系方式</th>
                        <th>金额</th>
                        <th>创建时间</th>
                        <th>创建人</th>
                        <th>调账信息</th>
                        <th>备注</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr ng-repeat="item in pageInfo.records">
                        <td>{{$index + 1}}</td>
                        <td class="v-middle">{{item.email}}</td>
                        <td class="v-middle">
                        	<span ng-if="item.deliveryPlatform==1">联币金融</span>
                        	<span ng-if="item.deliveryPlatform==2">智仟汇</span>
                        	<span ng-if="item.deliveryPlatform==3">糯糯金服</span>
                        </td>
                        <td class="v-middle">
                        	<span ng-if="item.platformApp==1">APP</span>
                        	<span ng-if="item.platformApp==2">网站</span>
                        </td>
                        <td class="v-middle">
                        	<span ng-if="item.advertPosition==1">首页BANNER</span>
                        	<span ng-if="item.advertPosition==2">轮播图片</span>
                        </td>
                        <td class="v-middle">
                        	<span ng-if="item.valuationModel==1">CPC</span>
                        	<span ng-if="item.valuationModel==2">CPS</span>
                        	<span ng-if="item.valuationModel==3">CPA</span>
                        	<span ng-if="item.valuationModel==4">CPM</span>
                        </td>
                        <td class="v-middle">{{item.modelPrice}}</td>
                        <td class="v-middle">{{item.advertLabel}}</td>
                        <td class="v-middle">{{item.applyTime | date:'yyyy-MM-dd HH:mm:ss'}}</td>
                        <td class="v-middle">
                        	<span ng-if="item.approveState==0">-</span>
                        	<span ng-if="item.approveState==1 || item.approveState==2">{{item.approveTime | date:'yyyy-MM-dd hh:mm:ss'}}</span>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div> --><!-- /.table-responsive -->

            <!-- 底部分页 -->
			<span data-ng-include=" 'src/tpl/pageInfo.html' "></span>
        </div><!-- /.panel -->
    </div><!-- /.wrapper-data -->

</div><!-- /.wrapper-md -->